package com.example.demo528.service;

import com.example.demo528.domain.Student;
import com.example.demo528.mapper.StudentMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentService {
    @Resource
    private StudentMapper studentMapper;

    public List<Student> list(){
        return studentMapper.list();
    }
}
